import { createApp } from 'vue'
import App from './App.vue'
//导入路由转发器
import router from '@/router';
//创建一个vue应用
const app = createApp(App);
//挂载路由
app.use(router);
//挂载到#app上
app.mount('#app');